@model bool
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>ViewRegister</title>
    <link href="~/css/Register.css" rel="stylesheet" />
</head>
<body>
    <div class="register">
        <div class="word">Register</div>
        <form action="/User/Register" method="post">
            <div class="register-item">
                <input id="Name" class="input-box" name="userName" type="text" required="" placeholder="UserName" /><br />               
                <input id="Password" class="input-box" name="password" type="password" required="" placeholder=" Password" /><br />           
                <input id="rePassword" class="input-box" name="repassword" type="password" required="" placeholder=" Verify Password" />
            </div>
            @if (Model)
            {
                <div id="inconsistent">两次输入的密码不一致或该昵称已被占用！！！</div>
            }               
            <input class="head-in" type="submit" style="cursor:pointer" value="Sign In" />
        </form>
        <input class="reset" type="button" style="cursor:pointer" value="Clear" onclick="Reset()" />
    </div>
    <script src="~/js/index.js"></script>
</body>
</html>
